<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./template/template_1.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui">
    <ui:define name="content">
        <h:form>
            <p:panel id="panel" header="Creation d'une liste de lecture">
                <p:messages />
                <h:panelGrid columns="3" cellpadding="5">  
                    <h:outputLabel for="playListName" value="playListName:" />
                    <p:inputText id="playListName"
                                 value="#{userManagedBean.playListName}"
                                 required="true" label="playListName">
                        <f:validateLength minimum="2" />
                    </p:inputText>
                </h:panelGrid>
                <h:commandButton value="Next" action="#{userManagedBean.createPlayList()}"/>
            </p:panel>
        </h:form>
    </ui:define>

</ui:composition>
